package gov.pr.celepar.sentinela.util;

import gov.pr.celepar.framework.taglib.grid.decorator.Decorator;

public class BooleanDecorator implements Decorator {

	public String decorate(Object value) throws Exception {
		Boolean b = (Boolean) value;

		if (b != null) {
			if (b.booleanValue())
				return "Sim";
			else
				return "Não";
		}
		return null;
	}

}
